

libcsv.so:
	g++ -fPIC -shared -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-2.el8_5.x86_64/include -I/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.312.b07-2.el8_5.x86_64/include/linux -o libcsv.so CsvLoader.cpp CsvReader.cpp

build_java: libcsv.so
	javac Main.java CsvReader.java

run: build_java
	java -Djava.library.path=. Main

